package com.ruoyi.web.controller.mall.orderComent.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * 评价对象 order_coment
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public class OrderComent //extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论表id */
    private String id;

    /** 订单详情表id */
    @Excel(name = "订单详情表id")
    private String detailId;

    /** 评价星级 1-5 */
    @Excel(name = "评价星级 1-5")
    private Integer star;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String content;

    /** 删除标记 0：未删除，1：删除 */
    @Excel(name = "删除标记 0：未删除，1：删除")
    private Integer disply;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 评论人 */
    @Excel(name = "评论人")
    private String userId;

    /** 评论图片 */
    @Excel(name = "评论图片")
    private String imgurls;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setDetailId(String detailId) 
    {
        this.detailId = detailId;
    }

    public String getDetailId() 
    {
        return detailId;
    }
    public void setStar(Integer star) 
    {
        this.star = star;
    }

    public Integer getStar() 
    {
        return star;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setDisply(Integer disply) 
    {
        this.disply = disply;
    }

    public Integer getDisply() 
    {
        return disply;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setImgurls(String imgurls) 
    {
        this.imgurls = imgurls;
    }

    public String getImgurls() 
    {
        return imgurls;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("detailId", getDetailId())
            .append("star", getStar())
            .append("content", getContent())
            .append("disply", getDisply())
            .append("createAt", getCreateAt())
            .append("userId", getUserId())
            .append("imgurls", getImgurls())
            .toString();
    }
}
